System.register(["@angular/router", "app/Router/DataComp", "app/Router/OrderComp", "app/Router/UserComp", "app/Router/SettingComp", "app/Router/BoxComp", "app/Router/IndexSettingComp", "app/Router/pay/PayComp", "app/Router/pay/BindWxComp", "app/Router/boxProduct/BoxProductIndexComp", "app/Router/boxSetting/BoxSettingIndexComp"], function (exports_1, context_1) {
    "use strict";
    var __moduleName = context_1 && context_1.id;
    var router_1, DataComp_1, OrderComp_1, UserComp_1, SettingComp_1, BoxComp_1, IndexSettingComp_1, PayComp_1, BindWxComp_1, BoxProductIndexComp_1, BoxSettingIndexComp_1, appRoutes;
    return {
        setters: [
            function (router_1_1) {
                router_1 = router_1_1;
            },
            function (DataComp_1_1) {
                DataComp_1 = DataComp_1_1;
            },
            function (OrderComp_1_1) {
                OrderComp_1 = OrderComp_1_1;
            },
            function (UserComp_1_1) {
                UserComp_1 = UserComp_1_1;
            },
            function (SettingComp_1_1) {
                SettingComp_1 = SettingComp_1_1;
            },
            function (BoxComp_1_1) {
                BoxComp_1 = BoxComp_1_1;
            },
            function (IndexSettingComp_1_1) {
                IndexSettingComp_1 = IndexSettingComp_1_1;
            },
            function (PayComp_1_1) {
                PayComp_1 = PayComp_1_1;
            },
            function (BindWxComp_1_1) {
                BindWxComp_1 = BindWxComp_1_1;
            },
            function (BoxProductIndexComp_1_1) {
                BoxProductIndexComp_1 = BoxProductIndexComp_1_1;
            },
            function (BoxSettingIndexComp_1_1) {
                BoxSettingIndexComp_1 = BoxSettingIndexComp_1_1;
            }
        ],
        execute: function () {
            exports_1("appRoutes", appRoutes = router_1.RouterModule.forRoot([
                { path: "data", component: DataComp_1.DataComp, data: { title: "当前数据" } },
                { path: "order", component: OrderComp_1.OrderComp, data: { title: "订单" } },
                { path: "bind_wx", component: BindWxComp_1.BindWxComp, data: { title: "绑定微信" } },
                { path: "pay", component: PayComp_1.PayComp, data: { title: "在线支付" } },
                { path: "user", component: UserComp_1.UserComp, data: { title: "用户" } },
                {
                    path: "box/:id", component: BoxComp_1.BoxComp, data: { title: "盒子" },
                    children: [
                        { path: "setting", component: BoxSettingIndexComp_1.BoxSettingIndexComp },
                        { path: "product", component: BoxProductIndexComp_1.BoxProductIndexComp }
                    ]
                },
                { path: "index_setting", component: IndexSettingComp_1.IndexSettingComp },
                { path: 'setting', component: SettingComp_1.SettingComp, data: { title: "设置" } }
            ], { useHash: true }));
        }
    };
});
